﻿using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wutos.Domain;

namespace Wutos.Mapping
{
    public class SportMap : EntityTypeConfiguration<SportEntity>
    {
        //public BoardMap()
        //{
        //    this.ToTable("board");
        //    this.HasKey(t => t.id);
        //}
        public override void Map(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<SportEntity>().ToTable("sport").HasKey(_ => _.id);
        }
    }
}
